package com.ncloud.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SequenceMapper {

	@Select("select get_Nextval(#{seqName}) as cur_val")
	@Results({@Result(column="cur_val",property="curVal")})
	Long getSequence(String seqName);
}
